import copy

if __name__ == '__main__':
    original_list = [1, 2, 3, [1, 2, 3]]

    deep_copy_list = copy.deepcopy(original_list)

    deep_copy_list[0] = 0
    deep_copy_list[3][0] = 0

    # 如果原始列表中的对象没有发生改变，这是深拷贝
    print(f'original list: {original_list}')
    print(f'deep copy list: {deep_copy_list}')
